<template>
    <div>
      <!-- 国际化 -->
        <el-config-provider :locale="locale" :size="size">
            <router-view />
        </el-config-provider>
        <!-- <router-view /> -->
    </div>
</template>

<script setup>
import { ref, computed } from 'vue'
import { messages } from '@/i18n/index.ts'
// import assemble from '@/views/assemble/index.vue'
import { RouterView } from 'vue-router'
import { useAppStore } from '@/store/app.ts'

const appStore = useAppStore()

const locale = computed(() => messages[appStore.language].el)
const size = computed(() => appStore.componentSize)
</script>

<style scoped></style>
